home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / tag_bbs / tnite31.zip / TAGNITE.DOC < prev    next >
Text File  |  1992-05-25  |  14KB  |  365 lines

  1.                           TAGNITE UTILITY V3.1
  2.  
  3. Note: See history.doc for updates in 3.1.
  4.  
  5. TAGNITE is a nightly utility program written for TAG 2.6.  To
  6. date, TAGNITE will delete inactive users, delete EMail to deleted
  7. users, delete any macros belonging to deleted users, modify up to
  8. 12 files (ASCII or ANSI) with names and amounts or 
  9. uploads/downloads/publicposts, and rebuild NAMES.LST if needed.  
  10. Included in this zip file should be 8 files:
  11.  
  12.        TAGNITE.EXE - main program
  13.        TAGNITE.CFG - configuration file
  14.        TAGNITE.DOC - documentation
  15.        TAGNITE.CLR - sample color ansi output template
  16.        TAGNITE.MSG - sample ascii output template     
  17.        SLTIMES.EXE - modifies the SL times on TAG
  18.        HISTORY.DOC - listing of the modifications to TAGNITE
  19.        SLTIMES.EXE - Sets up security levels and times
  20.        REMOVE.EXE  - Remove '`' marks from USER.LST.
  21.  
  22.                        THE CONFIGURATION FILE
  23.  
  24. The sample configuration file that you now have is called
  25. TAGNITE.CFG, but can be called anything you like.  The name of
  26. the configuration file is passed to TAGNITE through a command
  27. line parameter (this will be explained later).  The best way to
  28. explain the configuration file commands will be by showing you
  29. the TAGNITE.CFG file and explaining the options used and telling
  30. you about the variations on each command. So, print out a copy of
  31. the .CFG file or pull it into an editor or word processor. After
  32. each command is explained, take a minute to look at how it is
  33. used in the sample .CFG file.  If the first character on a line
  34. is a percent '%' sign, the line is ignored, or said to be
  35. remarked out. If a double percent '%%' is encountered as the
  36. first 2 characters of a line, all lines after are treated as a
  37. remark, until another set of double percents are encountered as
  38. the first 2 characters of a line.  The rest of this section will
  39. list a command, followed by the explanation of it,followed by an.
  40.  
  41. GFILES PATH=<drive & path>
  42.      Tells where to find the tag\gfiles directory. The path MUST
  43.      be followed by a '\'.
  44. GFILES PATH=C:\TAG\GFILES\
  45.  
  46. TAG PATH=<drive & path>
  47.      Tells where to find the main tag directory. The path MUST be
  48.      followed by a'\'.
  49. TAG PATH=C:\TAG\
  50.  
  51. TAGNITE PATH=<drive & path> 
  52.      Tells where to find the path to TAGNITE.  The path MUST be
  53.      followed by a'\'.
  54. TAGNITE PATH=C:\TAG\TAGNITE\
  55.  
  56. DELETE DAYS=<0-32767>
  57.      Tells how many days that a user must not have called before
  58.      the user will be deleted. 0 days tells TAGNITE not to delete
  59.      any users.
  60. DELETE DAYS=90
  61.  
  62. DELETE SL=<security level>
  63.      Tells TAGNITE to only delete users who's SL is equal to or
  64.      less than the delete SL.
  65. DELETE SL=199
  66.  
  67. DELETE TIMES CALLED=<0-32767>
  68.      Tells TAGNITE to only count users who have called X number
  69.      of times or less. (Since a user who has only called 1 or 2
  70.      times total, then not called for 90 days is likely to be
  71.      someone who will not call again, but a user who has called
  72.      500 times then not called for 90 days most likely is just
  73.      away) 0 in this field tells TAGNITE to not use this # in
  74.      deciding if a user is to be deleted.
  75. DELETE TIMES CALLED=0
  76. * NOTE * - TAGNITE will not delete a user whos PROTECTION FROM
  77. DELETION flag is set.
  78.  
  79. REPORT=<filename>
  80.      This is the log file that info on the daily runs will be
  81.      placed into.
  82. REPORT=C:\TAG\TAGNITE.LOG
  83.  
  84. TOP DATE SYMBOL=<character>
  85.      When this symbol is encountered in a template file, it is
  86.      replaced with the current date (MM/DD/YY).
  87. TOP DATE SYMBOL=`
  88.  
  89. TOP NAME LENGTH=<0-64>
  90.      This is the size that the user name output in the output
  91.      files will be. The field will be truncated or padded as
  92.      needed.
  93. TOP NAME LENGTH=25
  94.  
  95. TOP INPUT FILE=<filename>
  96.      This is the name of a template file used in the creation of
  97.      bulletin or logon files.
  98. TOP INPUT FILE=C:\TAG\GFILES\LOGON3M.DAT  
  99.  
  100. TOP OUTPUT FILE=<filename>
  101.      This is the name of an outputfile that is created with the
  102.      help of the main template.
  103. TOP OUTPUT FILE=C:\TAG\GFILES\LOGON3.MSG
  104. *NOTE* the top output and input must be paired off. THERE MUST ME 
  105.       AN EQUAL NUMBER OF EACH (up to 12 each!)
  106.  
  107.  
  108. LEECH SYMBOL=<character>
  109.      When this symbol is encountered in a template file followed
  110.      by a number, it will be replaced with the leech of this
  111.      orders name. If it is encountered followed by a number
  112.      followed by the leech symbol again, it will be replaced with
  113.      the leech amount.
  114. LEECH SYMBOL=%
  115.  
  116. LEECH SL=<security level>
  117.      Tells TAGNITE to only count users whos SL is equal to or
  118.      less than the leech SL.
  119. LEECH SL=199
  120.  
  121. LEECH CHECK BY=<R/C>
  122.      Tells TAGNITE how to calculate leeching.'C' means per call
  123.      leeching.'R' means ratio of downloads to uploads.
  124. LEECH CHECK BY=R
  125.  
  126. LEECH BY=<K/D>
  127.      Tells TAGNITE to calculate leech formulas with K-bytes or
  128.      number of Downloads.
  129. LEECH BY=K
  130.  
  131. UPLOAD SYMBOL=<character>
  132.      When this symbol is encountered in a template file followed
  133.      by a number, it will be replaced with the uploader of this
  134.      orders name. If it is encountered followed by a number
  135.      followed by the uploader symbol again, it will be replaced
  136.      with the uploaders amount.
  137. UPLOAD SYMBOL=^
  138.  
  139. UPLOAD SL=<security level>
  140.      Tells TAGNITE to only count users whos SL is equal to or
  141.      less than the uploader SL.
  142. UPLOAD SL=199
  143.  
  144.  
  145. UPLOAD CHECK BY=<R/C>
  146.      Tells TAGNITE how to calculate uploading.'C' means per call
  147.      uploads.'R' means ratio of uploads to downloads.
  148. UPLOAD CHECK BY=R
  149.  
  150. UPLOAD BY=<K/D>
  151.      Tells TAGNITE to calculate upload formulas with          
  152.      K-bytes or number of uploads.
  153. UPLOAD BY=K
  154.  
  155. POST SYMBOL=<character> - when this symbol is encountered in a    
  156.       template file followed by a number, it will be replaced     
  157.      with the poster of this orders name. If it is          
  158. encountered followed by a number followed by the poster          
  159. symbol again, it will be replaced with the posters          
  160. amount.(POST IS ONLY CALC'D BY #POSTS PER CALL)
  161. POST SYMBOL=@
  162.  
  163. POST SL=<security level>
  164.      Tells TAGNITE to only count user whos SL is equal to or less
  165.      than the post SL.
  166. POST SL=199
  167.  
  168. MAX TIME SL=<security level>
  169.      Tells TAGNITE what the upper SL limit is when calculating a
  170.      new SL.
  171. MAX TIME SL=180
  172.  
  173. MIN TIME SL=<security level>
  174.      Tells TAGNITE what the lower SL limit is when calculating a
  175.      new SL.
  176. MIN TIME SL=5
  177.  
  178. LOGON SL CHANGE=<amount>
  179.      Tells TAGNITE how much to add or subtract to the base SL
  180.      based on how many times the user has logged on.
  181. LOGON SL CHANGE=-2
  182.  
  183. POST SL CHANGE=<amount>
  184.      Tells TAGNITE how much to add or subtract to the base SL
  185.      based on how many times the user has made a public post. 
  186. POST SL CHANGE=3
  187.  
  188. UPLOAD SL CHANGE=<amount>
  189.      Tells TAGNITE how much to add or subtract to the base SL
  190.      based on how many files the user has uploaded.
  191. UPLOAD SL CHANGE=5
  192.  
  193. DOWNLOAD SL CHANGE=<amount>
  194.      Tells TAGNITE how much to add or subtract to the base SL
  195.      based on how many files the user has downloaded.
  196. DOWNLOAD SL CHANGE=-3
  197.  
  198. BASE TIME SL=<security level>
  199.      Tells TAGNITE what security level to use as a starting point
  200.      before adding and subtracting for
  201.      posts/logons/uploads/downloads.
  202. BASE TIME SL=45
  203.  
  204. REPORT LOGON ATTEMPTS=<number of illegal logon attempts>
  205.      This tells TAGNITE to report illegal logon attempts on an
  206.      account that exceeds this number when TAGNITE is run.
  207. REPORT LOGON ATTEMPTS=5
  208.  
  209. SEND MESSAGES TO=<user number>
  210.      All important messages that go in the report file can also
  211.      be placed in a 1 line message to the specified user. If this
  212.      user has his mail be forwarded, then the forwarded to user
  213.      will get the messages. If set to 0 no messages will be sent.
  214. SEND MESSAGES TO=1  
  215.  
  216. CHECK STATE BY ZIPCODE
  217.      If this line is present in the configuration file, TAGNITE
  218.      will attempt to verify a user's zipcode against the state
  219.      that the user is in.
  220.  
  221. NOTIFY USERS OF PROBLEMS
  222.      If this line is present in the configuration file, TAGNITE
  223.      will send "SHORT MESSAGES" telling him that there is a
  224.      problem with his account. (i.e. bad zipcode/state
  225.      combination).
  226.                    WHAT IS A TEMPLATE FILE?
  227.  
  228. The template files are optional files that allow you to format
  229. the 'top output' files. After TAGNITE calculates the amounts for
  230. leeches, uploaders, and/or posters, it then sorts them from the
  231. highest to lowest. It then reads in your template files and looks
  232. for the symbols telling where to insert data. (TAGNITE INSERTS,
  233. NOT OVERWRITES). Thus, if the template file line read as follows:
  234.  
  235.      TODAYS DATE IS `!<C/R>
  236.  
  237. if ` is the symbol for the current date, then the output files
  238. version of the line will read as follows:
  239.  
  240. TODAYS DATE IS 05/09/91!<C/R>
  241.  
  242. The leech, upload, and post symbols all act in the same way, so
  243. to save myself time, I shall explain it with only the post
  244. example. Let us say that the post symbol is @, and the output
  245. name length is set to 10. Giving the following template file:
  246.  
  247.      TOP 2 POSTERS AS OF `.<C/R>
  248.      1) @1@ posts per call for @1.<C/R>
  249.      2) @2@ posts per call for @2.<C/R>
  250.  
  251. The output file should read something like this:
  252.  
  253.      TOP 2 POSTERS AS OF 05/08/91.<C/R>
  254.      1) 2.23 posts per call for King Arthu.<C/R>
  255.      2) 2.21 posts per call for Fireman   .<C/R>
  256.  
  257. Note that the 2nd line was truncated on the name, and the 3rd
  258. line was padded on the name.            WHAT IS THIS ABOUT RECALCULATION OF THE SL?
  259.  
  260. One of the features of TAGNITE lets you restrict people by time,
  261. rather than by the ratios that TAG lets you use.  I use this
  262. feature on my bbs, and the concept is simple.  TAGNITE will give
  263. time or take time from a user each time they post a public
  264. message, logon the system, upload a file, or download a file. You
  265. set the limits on the time given, and who can be recalculated. If
  266. the Ignore Ratio flag is set on a user, TAGNITE will not
  267. recalculate the time. Also if the users SL is above the MAX TIME
  268. SL or below the MIN TIME SL the time will not be recalculated. On
  269. my bbs I take 2 minutes each time a user calls. This is because
  270. if they call and do nothing positive for the bbs then I do not
  271. feel that the call was worth it. I give 3 minutes for each public
  272. post, take 3 minutes for each download, and give 5 minutes for
  273. each upload.  The catch is that TAG does not keep track of the
  274. users time, but time used. So what TAGNITE changes is the users
  275. SL. Since the SL directly effects the users time. Just make sure
  276. that you make the SL time between the MIN and MAX SL TIME levels
  277. go in increments of 1 minute. To speed you up in modifying the SL
  278. times, I have written a program called SLTIMES.EXE, this will
  279. make the time equal the SL level. Just run it if you want to use
  280. the time feature of TAGNITE, and only run it once (it only
  281. changes the SL times for level 1 thru 254).                  WHAT ARE THE CONFIG DEFAULTS? Option             
  282. Default if option not in .CFG file.
  283. -----------------------------------------
  284. Delete days         90 days
  285. Delete Report       No report
  286. Delete Times Called 0 (do not use this field in deletion)
  287. Delete SL           0 (no deletion of users)
  288. Leech Symbol        No symbol set (no leech calcs done)
  289. Leech SL            0 (no leech calcs done)
  290. Leech Check         C (calculate by calls)
  291. Leech Type          D (calculate by number of dls)
  292. Upload Symbol       No symbol set (no upload calcs done)
  293. Upload SL           0 (no upload calcs done)
  294. Upload Check        C (calculate by calls)
  295. Upload Type         D (calculate by number of uls)
  296. Post Symbol         No Symbol set (no post calcs done)
  297. Post SL             0 (no post calcs done)
  298. Top Input Files     NUL (no template files or output files used)
  299. Top Output Files    NUL (no template files or output files used)
  300. Top Name Length     36
  301. Max Time SL         0 (no SL calcs done)
  302. Min Time SL         0 (no SL calcs done)
  303. Logon SL Change     0 (no SL change for logons)
  304. Post SL Change      0 (no SL change for posts) 
  305. Upload SL Change    0 (no SL change for uploads)
  306. Download SL Change  0 (no SL change for downloads)
  307. Base Time SL        0 (the only movement on the SL can be up)
  308. Report Logon Attempts 0 (no reporting of them)
  309. Report Messages To  1 (this should be the sysop)
  310.  
  311. NOTE: ANY OPTIONS NOT LISTED MUST BE DEFINED IN THE .CFG FILE!                      HOW DO I RUN TAGNITE?
  312.  
  313. Simple question, simple answer. at a DOS prompt or in an event
  314. batch file enter the following:
  315.  
  316. TAGNITE <configuration filename>
  317.  
  318. <configuration filename> defaults to TAGNITE.CFG in the current
  319. directory.
  320.  
  321.                    CREDIT WHERE CREDIT IS DUE
  322.  
  323. Thanks must be given to the following people:
  324.  
  325. Robert Numerick and Victor Capton for the listing of the TAG 2.6  
  326. data structures.
  327.  
  328. John Haluska for his Quicksort routines for Pascal.
  329. Peter Yao for pointing out slight oversights in TAGNITE.
  330.  
  331. Mike Depetris for helping test TAGNITE.
  332.  
  333. David de Gil and Ira Tessler for making TAGNITE.                  
  334.  
  335.  
  336.                        ALMOST DONE
  337.  
  338. We have other features that we plan to put in the next versions
  339. of TAGNITE, but I would like to hear from you on what new
  340. features you would like to see in the future releases of TAGNITE. 
  341.  
  342.  
  343.                        DONATIONS
  344.  
  345. If you find this software useful, please send a donation of $20
  346. to:
  347.  
  348.  
  349. Ira Tessler
  350. Starbase 30-A BBS
  351. 235 Paddington Ct. Manalapan, NJ 07726
  352.  
  353. Home BBS:
  354. Fidonet 1:2605/609
  355. Starbase 30-A
  356. (908) 972-6980HST/V32bis
  357. FREQ 'TAGNITE' for the latest version of TAGNITE.
  358.  
  359.  
  360.                          T.A.G. NITE SUPPORT ECHO
  361.  
  362. The TAGNITE support echos is available via local distribution. 
  363. We'll try to get this on the backbone as soon as we have enough
  364. nodes.  Please netmail me @ 1:2605/609 if you are interested in
  365. receive this echo.